package edu.uci.ics.multicast;

import java.util.LinkedList;
import java.util.List;

public class NodePeer {

	private String hostName;
	private double x;
	private double y;
	private List<NodePeer> listNodePeers = new LinkedList<NodePeer>();
	private NodePeer fatherNode;

	public NodePeer(String hostName, NodePeer fatherNode) {
		this.hostName = hostName;
		this.fatherNode = fatherNode;
	}

	public String getHostName() {
		return hostName;
	}
	public void setHostName(String hostName) {
		this.hostName = hostName;
	}
	public double getX() {
		return x;
	}
	public void setX(double x) {
		this.x = x;
	}
	public double getY() {
		return y;
	}
	public void setY(double y) {
		this.y = y;
	}

	public void setListNodePeers(List<NodePeer> listNodePeers) {
		this.listNodePeers = listNodePeers;
	}

	public List<NodePeer> getListNodePeers() {
		return listNodePeers;
	}

	public void setFatherNode(NodePeer fatherNode) {
		this.fatherNode = fatherNode;
	}

	public NodePeer getFatherNode() {
		return fatherNode;
	}
	
}
